Adding allow-none introspection annotation for GtkInitFunc parameters
authorAlberto Ruiz <aruiz@gnome.org>
Wed, 20 Apr 2011 19:11:11 +0000 (20:11 +0100)
committerAlberto Ruiz <aruiz@gnome.org>
Wed, 20 Apr 2011 19:11:11 +0000 (20:11 +0100)
gtk/gtkmodules.h

index 3c97854f7699fc98a6cfd4ff912d347a484fb497..b0f9a509ac3c6e9bba2073f5185aa3586e2105d2 100644 (file)
@@ -32,8 +32,8 @@ G_BEGIN_DECLS
 
 /**
  * GtkModuleInitFunc:
- * @argc: GTK+ always passes %NULL for this argument
- * @argv: (array length=argc): GTK+ always passes %NULL for this argument
+ * @argc: (allow-none): GTK+ always passes %NULL for this argument
+ * @argv: (allow-none) (array length=argc): GTK+ always passes %NULL for this argument
  *
  * Each GTK+ module must have a function gtk_module_init()
  * with this prototype. This function is called after loading